package util;

import java.sql.*;

public class DatabaseUtils {
	private static Connection conn = null; 
	
	public static Connection dbConnection() throws Exception {
	    Class.forName("com.mysql.jdbc.Driver");
		
	    if (conn == null){
			conn = DriverManager.getConnection("jdbc:mysql://titan.cmpe.boun.edu.tr:3306/database8", "project8", "gULKLUgF"); 
		}
		
		return conn;
	}
}
